<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>other</title>
</head>

<body>
  <button id="btn">跳到19</button>
  <script>
    let btnEle = document.getElementById("btn");
    btnEle.addEventListener("click", function () {
      location.href = "http://127.0.0.1:5500/04-DOM/19-BOM%E6%B5%8F%E8%A7%88%E5%99%A8%E5%AF%B9%E8%B1%A1%E7%B1%BB%E5%9E%8B.html";
    }); 
  </script>

</body>

</html>